<?php
session_start();
error_reporting('E_NOTICE');
$self = $_SERVER['PHP_SELF'];

include 'functions.php';

if (!isLoggedIn()) {
   die("Please log in <a href='../'>HERE</a> first.");
}

if (!isManager()) {
   die("<a href='javascript:history.go(-1);'><<< Go Back - You are not authorized to view this page...</a>");
}

$page = $_REQUEST['view'];
goToPage($page);
?>
<!DOCTYPE html>
<html>
   <head>
      <title>Admin | Pending</title>
      <link rel="stylesheet" type="text/css" href="../css/style.css" />
      <script type="text/javascript">
         function submit(){
            document.forms["view_dropdown"].submit();
         }
      </script>
   </head>
   <body>
      <table width="100%">
         <div align="left">
            <tr><td valign="top" rowspan="6"><img alt="" src="../img/unhmlogo.png" width="200px" height="120px" /></td></tr>
            <tr><td align="right" valign="top"><a href="../logout.php" title="Logout of the system.">Logout</a> | <a href="../help.php" title="View the help documentation.">?</a></td></tr>
            <tr><td width="100%" align="left"><h3 style="font-size:2em;">Internship 2 Career</h3><br /></td></tr>
            <tr><td align="left"><p>Click the drop-down box to view more pages.</p></td></tr>
            <tr>
               <td align="left">
                  <form action="<?php echo $self; ?>" method="post" id="view_dropdown">
                     <font size="5">Manage:</font>
                     <?php
                     viewDropDown('pending');
                     ?>
                  </form>
                  <hr />
               </td>
            </tr>
            <tr>
               <td></td><td align="left"><?php ?></td>
            </tr>
         </div>
      </table>
      <br /><br />
      <?php include '../view-control/internship_list.php'; ?>
   </body>
</html>




















